package masquerade.companion;

import android.os.Bundle;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.app.ListActivity;
import android.content.Intent;

public class Auspicios extends ListActivity {
	
	public void onCreate(Bundle icicle) {
		super.onCreate(icicle);
		String[] menudisc = getResources().getStringArray(R.array.ListaAuspicios);
		this.setListAdapter(new ArrayAdapter<String>(this, R.layout.list_menu,
				R.id.list_menu, menudisc));
	}
		protected void onListItemClick(ListView l, View v, int position, long id) {
			super.onListItemClick(l, v, position, id);
		AuspiciosAct.AuspiciosMenu=position;
		Intent i1 =new Intent();
		i1.setClass(this, AuspiciosAct.class);
		startActivity(i1);
	}
	
}
